package com.seeingtv.service.impl;

import com.seeingtv.mapper.CpMapper;
import com.seeingtv.model.Cp;
import com.seeingtv.service.CpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hubert
 * @date 2018/8/6
 * @description CpServiceImpl
 */
@Service
public class CpServiceImpl implements CpService{

	@Autowired
	private CpMapper cpMapper;

	@Override
	public List<Cp> selectRoleList(Cp cp) {
		return cpMapper.selectRoleList(cp);
	}
}
